#include <stdio.h>
#include <signal.h>
#include <unistd.h>

void func(int);

int main(int argc,char* argv[]){
  printf("my pid is %d\n",getpid());

  signal(SIGINT,func);
  pause();

  return 0;
}

void func(int num){
  printf("catch you is %d\n",num);
}
